package server.business.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import server.business.service.AboTypeService;
import server.business.service.BloodTestResultsService;
import server.business.utils.Result;


@Controller
@RequestMapping("/bloodTestResult")
public class BloodTestResultController {
    @Autowired
    private BloodTestResultsService bloodTestResultsService;

    /**
     * 查询检验结果
     */
    @RequestMapping("/normal/queryBloodTestResults")
    @ResponseBody
    public Result queryBloodTestResults() {
        bloodTestResultsService.list();
        Result result = new Result();
        result.setData(bloodTestResultsService.list());
        return result;
    }
}
